
export const getParentDir = (srcPath: string):string => {
    srcPath = srcPath.replaceAll("\\", "/")
    const srcPathObj = srcPath.lastIndexOf('/')
    // const distFile = srcPath.substring(srcPathObj + 1)
    const workDir = srcPath.substring(0, srcPathObj)
    return workDir
}